home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
cenvid
/
readme.doc
< prev
next >
Wrap
Text File
|
1995-10-17
|
29KB
|
564 lines
CEnvi Demo - ReadMe
CEnvi version 2.10
17 October 1995
Copyright 1993, Nombas, All Rights Reserved.
Published by Nombas, 64 Salem Street, MEDFORD MA 02155 USA
VOICE (617) 391-6595
BBS (617) 391-3718
FAX (617) 391-3842
Thank you for trying this shareware version of CEnvi from Nombas.
_______
____|__ | (R)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
Introduction to Cmm and CEnvi
Cmm: Cmm (C minus minus) is a scripting (i.e. programming)
language. Cmm is 'C' for the rest of us; i.e., C minus the
hard stuff. Cmm packs the functionality of C, but eliminates
C's complex, time consuming, and hazardous data manipulations.
Cmm is immediately familiar and immediately useful to hundreds
of thousands of professional C programmers. At the same time,
Cmm is also easy to learn and use for people who have never
programmed.
Cmm extends the power of C down to the macro language domain.
Nowhere will you find a more straight forward syntax, fewer
keywords, and such simple, well-defined rules as in the Cmm
language. Three features -- power, safety, and simplicity --
make the Cmm Toolkit the perfect fit for scripting and macro
usage.
Cmm strengths
* Easy to learn for new programmers
* Safe (Hard to make dangerous beginner mistakes)
* Intuitive to professional C/C++ developers
* Natural extension of the C/C++ programming languages
CEnvi: CEnvi is a standalone interpreter for the Cmm scripting
language--a powerful and versatile cross-platform macro language
interpreter. CEnvi gives you a full strength computer language,
but without the time, system, and resource programming hassles
normally associated with developing computer programs.
Whether you are a professional programmer, systems administrator,
experienced user, or just a novice, you can unleash the power of
your PC with CEnvi. CEnvi can be incorporated at a pace that is
comfortable to you: you may only want to use CEnvi code set up by
a more experienced user, you may want to enhance existing batch
files with a line or two of CEnvi code, or you may want to write
complete utilities using CEnvi.
CEnvi s automation development tools enable you to create robust
utilities, quickly build programs, and easily automate tasks so
you can work more productively and efficiently.
CEnvi's advantages
* Easy to use
* Powerful - Allows for direct system and DLL calls
* Provides a Windows command line and programming interface
* Data Exchange through DDE, clipboard, shared memory and pipes
* Low memory and Disk usage
* Event Scheduling and Monitoring
* Enhances Existing batch and REXX utilities
Who benefits from CEnvi
* Programming Professionals
* Network and System Administrators
* The home or business PC user
To learn how to write scripts in the Cmm language, new programmers
should consult Chapter 2, "The Cmm Language", and Chapter 3,
"Tutorial - CmmEdit a Simple Editor". Current C programmers
should consult Chapter 4, "Cmm vs. C", on the differences between
C and Cmm.
What they said about CEnvi version 1.009
"Every now and then a programming tool serves a particular need
better than anything else. CEnvi, a shareware product from
Nombas, is such a tool. ...CEnvi has virtually replaced ReXX
and the DOS batch language in my office."
Al Stevens, Dr.Dobb's, December '94
"Concise documentation, an extensive code library, over 70
examples, and compact executable size make CEnvi a good choice
for writing small programs and Windows scripts." <four stars>
Ziff-Davis Interactive
"...if you are a C programmer, this product is really a dream
come true."
Brian Proffit, OS/2 Magazine January '94
... and awarded to CEnvi version 2.10
1995 Ziff-Davis Shareware Awards - Winner of PC Magazine
Shareware-of-the-Year award for Programming Tools
New Features in Version 2.10
CEnvi versions have been added for Windows NT--console and GUI
mode. Full clipboard support for Windows and Windows NT version.
This includes marking, copying, and pasting from/to the CEnvi screen.
The CEnvi shell has been greatly enhanced in all versions--including
launching applications with environment-variable inheritance, file
redirection and piping, alias, history, and many internal commands.
New "literal strings" protect text from overwriting.
-------------------------- Quick Start For DOS -----------------------------
Create a directory to install CEnvi for DOS in (we recommend
CENVIDOS). UNZIP cenvidos.zip into the directory you created. CEnvi
for DOS includes two executables. CEnvid.exe is a regular DOS
program. CEnvid32.exe is a 32 bit DOS version. It is useful if you
find that the regular DOS version of CEnvi is running out of
memory.
The first time you run CEnvi for DOS, run the install.cmm
installation script. The installation script does 2 things for you.
It creates a CMMPATH environment variable, adds the CEnvi for DOS
path to the DOS PATH.
After CEnvi for DOS is installed, try the following sample
utilities. They best demonstrate the power of CEnvi for DOS.
Samples that end in .bat can be run as batch files. Samples that
end in .CMM require typing "cenvid sample.cmm" where sample is the
name of the utility.
NOTE: CEnvi for DOS can directly alter DOS environment variables.
For example, from the DOS command line enter the commands:
SET COUNT=100
CEnviD COUNT = COUNT + 2
SET
and you'll see that CEnvi has increased the COUNT environment
variable to 102. Because CEnvi uses environment space, you
may sometimes see an error message such as:
"The environment is not big enough..."
To correct this problem, you can specify a larger environment
size with a command such as:
COMMAND.COM /E:2000
To make this change permanent, add the /E:XXXX parameter,
where XXXX is a new environment size, to the "SHELL="
line in CONFIG.SYS.
DOS Quick-Start Sample Files
*EnviAsks.bat: Many examples of user input using EnviAsk.bat
and GetUKey.cmm
*EnvSort.bat: Sort environment variables alphabetically
*FileFind.bat: Wildcard search for files on current drive or on
all drives
*GetUKey.cmm: Display a choice prompt and then set an
environment variable based on user's selection
*KbdBuf.bat: Alter the size of the keyboard buffer
*KeyState.bat: Get or set the state of the NumLock, CapsLock,
or Insert keys
*Mouse.bat: